<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@page import="com.news.util.Pager"%>
<%@page import="com.news.bean.NewsType"%>
<%@page import="com.news.bean.News"%>
<%@page import="com.news.dao.impl.*" %>
<%@include file="top.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'newstext.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
        <STYLE>.content {
	FONT-SIZE: 14px; COLOR: #000000; LINE-HEIGHT: 19px; FONT-FAMILY: "宋体"; TEXT-DECORATION: none
        }

        TD {
                FONT-SIZE: 12px
        }
        BODY {
                FONT-SIZE: 12px
        }
        INPUT {
                FONT-SIZE: 12px
        }
        TD.content {
                FONT-SIZE: 14px; LINE-HEIGHT: 20px
        }


</STYLE>
</SOHU_CMS_INCLUDE>
<SCRIPT language=JavaScript>
function fontZoom(size)
{
 document.getElementById('fontzoom').style.fontSize=size+'px'
}
</SCRIPT>
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
<BODY topMargin=4>

<CENTER><SOHUHEADERCODE><SOHU_CMS_INCLUDE:YULE_ARTICLE_HEAD>
<STYLE type='text/css'>
.up1 {
	FONT-SIZE: 12px; COLOR: #656565; LINE-HEIGHT: 18px
}
.up1 TD {
	FONT-SIZE: 12px; COLOR: #656565; LINE-HEIGHT: 18px
}
.up1 A:link {
	FONT-SIZE: 12px; COLOR: #656565; LINE-HEIGHT: 18px; TEXT-DECORATION: none
}
.up1 A:visited {
	COLOR: #656565; TEXT-DECORATION: none
}
.up1 A:hover {
	COLOR: #656565; TEXT-DECORATION: underline
}
</STYLE>

<%
   String newsid=request.getParameter("newsid");
   Integer id=Integer.parseInt(newsid);
   News news= new NewsDaoImpl().get(id);
%>
 <TABLE cellSpacing=0 cellPadding=0 width=590 border=0>

      <TR>
          <TD  vAlign=bottom
            width=510><A class=black>111</A> &gt;&gt; <A class=black>222</A> &gt;&gt; <A class=black>333</A>&gt;&gt; <A class=black>444</A></TD>
       </TR>
       <TR>
          <TD id=articleTitle align=middle height=54>
              <br>
              <H1><%=news.getTitle()%></H1></TD>
       </TR>
       <TR>
          <TD  id=articleContent align=middle bgColor=#d2e8f6
          height=18>time　 come from：<%=news.getWriter()%></TD>
       </TR>
       <TR>
          <TD align=middle height=22>[font：<A
            class=black href="javascript:fontZoom(16)">L</A> <A class=black
            href="javascript:fontZoom(14)">M</A> <A class=black
            href="javascript:fontZoom(12)">S</A>]
            [<A class=black href="javascript:window.close()">Close</A>]</TD>
        </TR>
        <TR>
          <TD bgColor=#f2f9fd height=5></TD></TR>
        <TR>
          <TD></TD></TR>
        <TR>
          <TD>
            <TABLE cellSpacing=0 cellPadding=0 width=590 border=0>
         <TBODY>
              <TR>
                <TD class=content id=fontzoom>
                 <%=news.getMessage()%>
                </TD></TR>
              <TR>               
      </BODY>
</html>
